compiling python code

28

import py_compile

py_compile.compile("mymodule.py")
import compileall

compileall.compile_dir("mylib", force=1)

Comments

Submit
0 Comments